package com.jlpay.open.jlpay.sdk.java.model.openmerch.device.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.jlpay.open.jlpay.sdk.java.model.OrgBaseReq;
import com.jlpay.open.jlpay.sdk.java.model.openmerch.device.DeviceEnum;
import lombok.*;

/**
 * 加机
 *
 * @author dengwenning
 * @since 2024/4/24
 **/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class DeviceAddRequest extends OrgBaseReq {

    /**
     * 加机类型
     */
    private DeviceEnum deviceType;

    /**
     * 商户号
     */
    private String merchNo;

    /**
     * 机身号
     */
    private String deviceNo;

    /**
     * 打印商户名
     */
    private String printMerchName;

    /**
     * 设备使用地址
     */
    private String detAddress;

    /**
     * 门店id
     */
    private String shopId;

    @Override
    public String path() {
        return "/open/merch/access/device/add";
    }
}
